﻿<%@ Control Language="C#"  %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
	<div>
	<%HtmlBlock method = "processList"; %>
		<%Conditional on="Depth==0"; %>
		<div class="title">
			<asp:HyperLink id="title" runat="server"  NavigateUrl="$navLink$"/><br />
		</div>
		<%EndConditional; %>
		<%Conditional on="Depth==1"; %>
		<div id="Div1" class="articlebox0">
			<swf:ReadOnlyText id="title" runat="server" /><br />
			<asp:HyperLink ID="primaryPicture_name" runat="server" ImageUrl="/$mediaCacheName$/WideThumbnail/$primaryPicture.name$" 
				EnableViewState="false"  NavigateUrl="$navLink$"/><br />
		</div>
		<%EndConditional; %>
		<%Conditional on="Depth==2"; %>
		<div id="Div2" class="articlebox0" >
			<table>
			<tr>
				<td style="width:30%;vertical-align:top">
					<asp:HyperLink ID="HyperLink1" runat="server" 
						ImageUrl="/$mediaCacheName$/SmallThumbnail/$primaryPicture.name$" 
						EnableViewState="false"  NavigateUrl="$navLink$"/>
				</td>
				<td style="width:70%;vertical-align:top">
					<asp:HyperLink id="title" runat="server"  NavigateUrl="$navLink$"/><br />
					<swf:ReadOnlyText ID="summary" runat="server"  Width="90%"/>
				</td>
			</tr>
			</table>
		</div>	
		<%EndConditional; %>
    <%EndHtmlBlock; %>
    </div>
